package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogType;
import com.qinge.blog.vo.BlogTypeVO;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022/05/15 22:53
 * @description BlogTypeService service层类
 */
public interface BlogTypeService {
    void add(BlogType... blogTypes);

    void addByList(List<BlogType> blogTypes);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogType blogType);

    void upsert(BlogType blogType);

    BlogType findById(String id);

    List<BlogType> findByIds(List<String> ids);

    List<BlogType> findAll();

    PageInfo<BlogTypeVO> findAll(PagingReqVO<BlogTypeVO> pagingReqVO);

    PageInfo<BlogTypeVO> paging(PagingReqVO<BlogTypeVO> pagingReqVO);
}


